<?php
/****************************************************************************/
/* Coppermine Photo Gallery 1.2.3 for CMS                                   */
/****************************************************************************/
/****************************************************************************/
/* Port Copyright (C) 2004 Coppermine for CMS Dev Team                      */
/* http://coppermine.findhere.org/                                          */
/* Based on coppermine 1.1d by Surf  http://www.surf4all.net/               */
/****************************************************************************/
/* Updated by the Coppermine Dev Team  2003                                 */
/* (http://coppermine.sf.net/team/)                                         */
/* see /docs/credits.html for details                                       */
/****************************************************************************/
/* Copyright (C) 2002,2003  Gregory DEMAR <gdemar@wanadoo.fr>               */
/* http://www.chezgreg.net/coppermine/                                      */
/* This program is free software; you can redistribute it and/or modify     */
/* it under the terms of the GNU General Public License as published by     */
/* the Free Software Foundation; either version 2 of the License, or        */
/* (at your option) any later version.                                      */
/****************************************************************************/
/*   $Id: search.php,v 1.13 2004/05/19 01:51:32 djmaze Exp $                */
/****************************************************************************/
/**********************************/
/*  Module Configuration          */
/* (right side on) v3.1           */
/* Remove the following line      */
/* will remove the right side     */
/**********************************/
define('INDEX_FILE', true);
$index = 1; 

if (eregi("modules/", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}
define('SEARCH_PHP', true);
require("modules/" . $name . "/include/load.inc");

pageheader($lang_search_php[0]);
$action=getlink("&file=thumbnails&meta=search");

starttable(500, $lang_search_php[0]);
echo <<< EOT
    <tr>
<form method="get" enctype="multipart/form-data" accept-charset="$lang_charset">
        <input type="hidden" name="name" value="coppermine">
        <input type="hidden" name="file" value="thumbnails">
        <input type="hidden" name="meta" value="search">
        <input type="hidden" name="type" value="full">
        <td class="tableb" align="center" height="60">
      <input type="input" style="width: 90%" name="search" maxlength="255" value="" class="textinput">
        </td>
    </tr>
    <tr>
        <td colspan="8" align="center" class="tablef">
            <input type="submit" value="{$lang_search_php[0]}" class="button">
        </td>
        </form>
    </tr>

EOT;
endtable();
pagefooter();

?>
